/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.openbravo.bean.erp;

import java.util.Date;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;


/**
 *
 * @author Administrator
 */
public class SharedOrder implements I_ModifiedLogBean<String>{
   private static final long serialVersionUID = 7640633837719L;
    private String id;
    private String name;
    private boolean locked;
    private String lockUserId;
    Order order;
    
    private Date lastModified;
    

    /** Creates a new instance of SharedTicket */
    public SharedOrder() {
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public boolean isLocked() {
        return locked;
    }

    public void setLocked(boolean locked) {
        this.locked = locked;
    }

    public String getKey() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

	public String getLockUserId() {
		return lockUserId;
	}

	public void setLockUserId(String lockUserId) {
		this.lockUserId = lockUserId;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	@Override
	public Date getLastModified() {
		return lastModified;
	}

	@Override
	public void setLastModified(Date lastModified) {
		this.lastModified=lastModified;
	}
	
	
}
